@import "../../../../styles/index.less";
.recordList {
  box-sizing: border-box;
  overflow-y: scroll;
  flex-grow: 1;
}
.recordWrapper{
  padding-bottom: 32px;
}
.recordItem {
  background: #fff;
  overflow: hidden;
  margin: 32px;
  padding: 12px 20px 12px 16px;
  border-radius: 16px;
  box-shadow:  0 2px 8px 0 rgba(0, 0, 0, 0.02), 
  0 0 50px 0 rgba(0, 0, 0, 0.04);

  &__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
  }

  &__status {
    display: inline-flex;
    align-items: center;
    border-radius: 20px;
    padding: 0 20px;
    font-size: 24px;
    margin: 8px 0;
    flex-grow: 0;
    height: 36px;
    
    
    &.exercise {
      background-color: #aae88950;
      color: @primary-dark;
    }

    &.diet {
      background-color: #fff7cb54;
      color: @primary-orange;
    }
  }



  &__icon {
    display: flex;
    align-items: center;
    margin-right: 6px;
  }

  &__contentWrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  &__right {
    margin-left: 24px;
    flex: 1;
  }

  &__content {
    flex: 1;
    // overflow: hidden;
  }

  &__title {
    font-size: 32px;
    color: #333;
    font-weight: normal;
    margin-bottom: 8px;
    display: block;
  }

  &__description {
    font-size: 26px;
    color: #999;
    display: block;
    margin-bottom: 8px;
  }

  &__image {
    width: 144px;
    height: 144px;
    border-radius: 12px;
    object-fit: cover;
    margin-left: 16px;
    flex-shrink: 0;
  }
}

.statusIcon {
  width: 36px;
  height: 36px;
  margin-right: 8px;
}

.recordList__empty {
  text-align: center;
  padding: 40px 0;

  &Text {
    color: #999;
    font-size: 28px;
  }
}
